<header class="home-top-header">
  <div class="midHeader">
    <a href="{{site.url}}/" target="_self" class="leftLogo">
      <img src="{{site.url}}/assets/imgs/info/brand-logo.png" alt="">
    </a>
    <ul class="rightUl">
      <li>
        <a target="_self" href="{{site.url}}/">首页</a>
      </li>
      <li class="midLogin{% unless page.onRegisterPage %} active{% endunless %}">
        <a target="_self" href="{{site.url}}/login/">登录</a>
      </li>
      <li{% if page.onRegisterPage %} class="active"{% endif %}>
        <a target="_self" href="{{site.url}}/register-first-step/">注册</a>
      </li>
    </ul>
  </div>
</header>